formation of digits